<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style type="text/css">
            #login{
                -webkit-border-radius: 10px;
                -moz-border-radius: 10px;
                border-radius: 10px;
                border:solid 1px blue;
                margin-left: 35%;
                margin-right: 35%;
                margin-top: 30px;
                padding: 5px;
                font-family: helvetica;
            }
        </style>
    </head>
    <body>

        <form name="loginForm" method="post" action="login.do">
            <div id="login" align="center">
                <table>
                    <tr>
                        <td colspan="2" align="center">ECommerce 2011</td>
                    </tr>
                    <tr>
                        <td>Usuario</td>
                        <td><input type="text" name="user"/> </td>
                    </tr>
                    <tr>
                        <td>Clave</td>
                        <td><input type="password" name="pass"/> </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="right">
                            <input type="button" value="login" onclick="document.loginForm.submit();"/>
                        </td>
                    </tr>
                </table>


            </div>
        </form>
        <h3 style="color:red;">${param['errorMsg']}</h3>
    </body>
</html>

